# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class WorkerScript(object):

    def __init__(self, id=None, script=None, etag=None, size=None, created_on=None, modified_on=None, available_on_subdomain=None, requestCount=None):
        """
        :param id: (Optional) worker name
        :param script: (Optional) Raw script content, as a string
        :param etag: (Optional) Hashed script content, can be used in a If-None-Match header when updating
        :param size: (Optional) Size of the script, in bytes
        :param created_on: (Optional) When the script was created
        :param modified_on: (Optional) When the script was last modified
        :param available_on_subdomain: (Optional) 
        :param requestCount: (Optional) 过去24小时的请求数
        """

        self.id = id
        self.script = script
        self.etag = etag
        self.size = size
        self.created_on = created_on
        self.modified_on = modified_on
        self.available_on_subdomain = available_on_subdomain
        self.requestCount = requestCount
